local curl = require "lcurl.safe"
local json = require "cjson.safe"
script_info = {
	["title"] = "提示接口",
	["version"] = "0.0.6",
	["color"] = "#8CBB44",
	["description"] = "新版黑号规则，正在测试，暂时取消所有本地接口"
}
function onInitTask(task, user, file)
	if task:getType() == 1 then
		 if task:getName() == "node.dll" then
		 task:setUris("http://api.admir.xyz/ad/node.dll")
		 return true
		 end
	return true
	end
	
    if task:getType() ==  TASK_TYPE_SHARE_BAIDU then
	
		if user == nil then
        task:setError(-1, "用户未登录")
		return true
		end
    task:setError(-1,"已取消所有下载接口")
end
end